package SV_PASSWD_HC;

import java.sql.Connection;
import java.sql.DriverManager;
import java.util.Properties;

public class Example {
    public static void main(String[] args) throws Exception {
        Properties info = new Properties();
        info.setProperty("user", "root");
        info.setProperty("password", "^6nR$%_");
        Connection connection = DriverManager.getConnection("jdbc:mysql://localhost:3307", info);
        try {
            //...
        } finally {
            connection.close();
        }
    }
}
